<template>
	<view style="padding: 30rpx;">
		<navigator url="/pages/APIpages/LogPage/LogPage"><button>打印日志</button></navigator>
		<navigator url="/pages/APIpages/Timepage/Timepage"><button>计数器</button></navigator>
		<navigator url="/pages/APIpages/StoragePage/StoragePage" open-type="redirect"><button>数据缓存</button></navigator>
		<navigator url="/pages/APIpages/RefreshPage/RefreshPage"><button>页面刷新</button></navigator>
		<navigator url="/pages/APIpages/imageyulan/imageyulan"><button>图片预览</button></navigator>
		<navigator url="/pages/APIpages/TianQiyubao/TianQiyubao"><button>天气预报</button></navigator>
		<navigator url="/pages/APIpages/DownloadImages/DownloadImages"><button>图片下载</button></navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			uni.preloadPage({
				url:"/pages/APIpages/StoragePage/StoragePage"
			})
		},
		methods: {
			getStoPage(){
				uni.navigateTo({
					url:"/pages/APIpages/StoragePage/StoragePage",
					success() {
						console.log("navigateTo--->success");
					},
					fail() {
						console.log("navigateTo--->fail"+JSON.stringify(e));
					},
					complete() {
						console.log("navigateTo--->complete");
					}
				})
				uni.redirectTo({
					url:"/pages/APIpages/StoragePage/StoragePage"
				})
			},
			
		}
	}
</script>

<style>

</style>